#include <iostream>
#include <string>
#include "../NS/nameserver.h"
#include "authorization.h"

int main() {
  std::string out;
  TOB::Nameserver::IP ip = (1 << 24) | 127;//localhost 127.0.0.1
  std::string userName = "root";
  std::string password = "123456";
  TOB::Authorization auth(ip, userName, password);
  
  bool res;
  std::cout << auth.FileSharing(res) << std::endl;
  std::cout << res << std::endl;
}
